package sdufe.lele.result;

import org.springframework.stereotype.Repository;

/**
 * Created by olivia on 3/23/2017.
 */
@Repository
public class StringResult extends Result {
    private String message;

    public StringResult(String message) {
        super(200);
        this.message = message;
    }

    public StringResult(){
        super(200);
        this.message = "";
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
